Core Commands
 
 
 
 
Core Commands / Auto Counter
 
 

AC

Auto Counter value

ACReset

Reset Auto Counter to 0

ACSet

Set Auto Counter to a specified value
 
 
Core Commands / Remarks
 
 

Rem

Single Line Remark

Remarks

Add comments to code

RemStart

Remark Block RemStart...RemEnd
 
 
Core Commands / Declarations
 
 

As

Type definition of a variable/array | Type inheritance

Constant

Declare user defined constants

Global

Declare Global Variables

Let

Variable assignment

Local

Declare Local Variables

Static

Declare Static Variables
 
 
Core Commands / Do / Loops
 
 

Continue

Proceed to the next iteration of a loop

DecLoop

End of Do-DecLoop structure

Do

Start of Do-Loop structure

Exit

Exits the current loop

ExitDo

Exit from a Do-Loop structure

Loop

Close of the Do-Loop structure
 
 
Core Commands / For / Next Loops
 
 

Continue

Proceed to the next iteration of a loop

Each

Iterate through Each object in a Linked List

Exit

Exits the current loop

ExitFor

Exit from a For-Next loop

For

Start of a For-Next Loop

Next

End of a For-Next Loop

Step

Optional Step statement of a For-Next Loop

To

Range in For / Next loops | Range in Case statements
 
 
Core Commands / Repeat / Until Loops
 
 

Continue

Proceed to the next iteration of a loop

Exit

Exits the current loop

ExitRepeat

Exit from a Repeat-Until loop

Repeat

Start of Repeat-Until loop

Until

End of Repeat-Until loop
 
 
Core Commands / While / Endwhile Loops
 
 

Continue

Proceed to the next iteration of a loop

EndWhile

End of While-EndWhile loop

Exit

Exits the current loop

ExitWhile

Exit from a While-EndWhile loop

While

Start of While-EndWhile loop
 
 
Core Commands / Comparison & Decisions
 
 

ELSE

If/Else/Endif Statements

ElseIf

If / Elseif / Else / Endif Statements

ENDIF

If/EndIf Statements

IF

If/ Else / ElseIf / Endif Statements

Then

If / then Statements
 
 
Core Commands / Select Case
 
 

Case

Select / Case statements

ContCase

Select / Case statements

Default

Select / Case statements

EndSelect

Select/Case statements

Select

Select / Case statements
 
 
Core Commands / Sub Routines & Control Changes
 
 

Gosub

GoSub to a sub routine

Goto

Go To a code section

On

Branch to one of several specified labels

Return

Returns from a code section or a Psub
 
 
Core Commands / Funtions & Psubs
 
 

CallFunction

Call User Defined Functions

EndFunction

Declaration of a self-contained statement block

EndPsub

Declaration of a self-contained statement block

ExitFunction

Declaration of a self-contained statement block

Function

Declaration of a self-contained statement block

FunctionExist

Check if a User Defined Function Exists

FunctionIndex

Get the Index of User Defined Function

Psub

Declaration of a self-contained statement block
 
 
Core Commands / Types
 
 

EndType

User defined data type

SizeOf

Get the Size (in Bytes) of a data type

Type

User defined data type

TypeOf

Get the Type Index from a Type Handle
 
 
Core Commands / Link Lists
 
 

EndOfList

Check if current index of linked list has reach the end

GetListFirst

Retrieve the current pos index within a linked list

GetListNext

Retrieve the Next pos index within a linked list

GetListPos

Retrieve the current pos index within a linked list

GetListPrevious

Retrieve the Previous Index from a linked list

GetListPtr

Retrieve a void pointer to the current object in a linked list

GetListSize

Retrieve the size of a linked list

NewList

Manually add List Linked Support to a Typed Variable

ResetList

Reset a linked list current index to the first index.

SetListPos

Change a Linked Lists current pos index.

StepList

Step a linked list to the Next index
 
 
Core Commands / Recasting
 
 

Float

Recast integer values as Float values

Int

Recast float values to integer values
 
 
Core Commands / Casting Pointers
 
 

BytePTR

Explicitly Re-Cast Pointer to a Byte Pointer

FloatPTR

Explicitly Re-Cast Pointer to a Word Pointer

IntPTR

Explicitly Re-Cast an Integer Pointer

WordPTR

Explicitly Re-Cast Pointer to a Word Pointer
 
 
Core Commands / Swap Values
 
 

Swap

Swaps the values of two variables

SwapIfHigher

Conditionally swaps the values of two variables

SwapIfLower

Conditionally swaps the values of two variables
 
 
Core Commands / Stop & Exit Program
 
 

END

Terminate / Quit Program Execution
 
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com